/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shanhesoft.java.common.core.vo.PageModel;
import com.shanhesoft.java.common.persistence.datascope.DataScope;
import com.shanhesoft.java.common.persistence.service.DataService;
import com.shanhesoft.java.modules.exam.domain.ExaminationRecord;
import com.shanhesoft.java.modules.exam.domain.dto.ExaminationRecordDto;
import com.shanhesoft.java.modules.exam.domain.dto.ExaminationRecordQueryCriteria;
import com.shanhesoft.java.modules.exam.domain.vo.ExaminationRecordVo;

import java.util.Map;

/**
 * 考试记录管理Service 考试记录管理
 * @author admin
 * @version 2020-10-10 17:00:18
 */
public interface ExaminationRecordService extends DataService<ExaminationRecord, ExaminationRecordDto, String>{
	public ExaminationRecordDto saveOrUpdateReturn(ExaminationRecordDto examinationRecordDto);
	public IPage<ExaminationRecordVo> findPage(PageModel pm, ExaminationRecordQueryCriteria examinationRecordQueryCriteria);
	public ExaminationRecordVo findExamRecordVobyId(String id);
	public IPage<Map<String, Object>> getWrongRecordsByUserId(PageModel pm, ExaminationRecordQueryCriteria examinationRecordQueryCriteria);
}
